<script setup lang="ts">
import { IconTypeEnum } from '@/utils'
/** 自定义图标 */
const props = defineProps({
  /** 图标名称(assets/svg下的文件名) */
  icon: {
    type: String,
    required: true
  },
  size: {
    type: Number,
    default: 14
  },
  color: {
    type: String,
    default: undefined
  }
})
</script>

<template>
  <TheIcon :type="IconTypeEnum.custom" v-bind="props" />
</template>
